<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <title>Flexigrid</title>
        <link rel="stylesheet" type="text/css" href="css/flexigrid/flexigrid.css">
            <script type="text/javascript" src="lib/jquery/jquery.js"></script>
            <script type="text/javascript" src="lib/flexigrid.js"></script>
            <style>

                body
                {
                    font-family: Arial, Helvetica, sans-serif;
                    font-size: 12px;
                }

                .flexigrid div.fbutton .add
                {
                    background: url(css/images/add.png) no-repeat center left;
                }

                .flexigrid div.fbutton .delete
                {
                    background: url(css/images/close.png) no-repeat center left;
                }


            </style>
    </head>

    <body>

        <br />
        <br />
        <!--<div class="code">
               <pre>$('.flexme').flexigrid();</pre>
       </div>-->
        <div id="tabla" align="center">
            <table class="flexme1" >

                <thead>
                    <tr>
                        <th width="100">Proyecto</th>
                        <th width="100">Efectividad</th>

                    </tr>
                </thead>
                <tbody>
                    <?php
                    $link = conectar();
                    //Se realiza consulta de las fechas en las que hay registros.
                    //$sSQL = "SELECT DISTINCT fecha FROM sensores='".$qsustrato."'"; //se crea sentencia SQL
                    $sSQL = "SELECT nombre,indiceefectividad FROM proyecto where iddepartamento='".$get['rejiduria']."'"; //se crea sentencia SQL
                    $resultado = mysql_query($sSQL); //Se realiza consulta
                    $NumRows = mysql_num_rows($resultado); //TOTAL DE RESULTADOS
                    ?>
                    <tr>
                        <td>This is data 1 with overflowing content</td>
                        <td>This is data 2</td>
                        <td>This is data 3</td>
                        <td><?php echo 'hola'; ?></td>
                    </tr>


                </tbody>

            </table>
        </div>
        <br />

        <script type="text/javascript">

            $('.flexme1').flexigrid();

        </script>

    </body>
</html>
